package com.jsh.erp.datasource.mappers;

import com.jsh.erp.datasource.entities.CashBoxRecord;
import com.jsh.erp.datasource.entities.CashBoxRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CashBoxRecordMapper {
    long countByExample(CashBoxRecordExample example);

    int deleteByExample(CashBoxRecordExample example);

    int deleteByPrimaryKey(String id);

    int insert(CashBoxRecord record);

    int insertSelective(CashBoxRecord record);

    List<CashBoxRecord> selectByExample(CashBoxRecordExample example);

    CashBoxRecord selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") CashBoxRecord record, @Param("example") CashBoxRecordExample example);

    int updateByExample(@Param("record") CashBoxRecord record, @Param("example") CashBoxRecordExample example);

    int updateByPrimaryKeySelective(CashBoxRecord record);

    int updateByPrimaryKey(CashBoxRecord record);
}